package com.seraphine.api.microservice.demo2.facads;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 描述: feign
 * 作者: panhongtong
 * 创建时间: 2020-10-09 14:24
 **/
// TODO 一定要有APP，命名要规范！！！！
@FeignClient(value = "app-demo-demo2")
public interface Demo2ApiService {

    @GetMapping(value = "/anonymous/demo2", consumes = MediaType.APPLICATION_JSON_VALUE)
    String demo2();

}
